package com.ethink.warehouse.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ethink.warehouse.api.info.LogisticsTraceDetailOrderInfo;
import com.ethink.warehouse.api.request.LogisticsTraceDetailOrderListRequest;
import com.ethink.warehouse.api.request.LogisticsTraceDetailOrderQueryRequest;
import com.ethink.warehouse.api.request.LogisticsTraceDetailOrderUpdateRequest;
import com.ethink.warehouse.api.response.LogisticsTraceDetailOrderDeleteResponse;
import com.ethink.warehouse.api.response.LogisticsTraceDetailOrderUpdateResponse;
import com.ethink.warehouse.common.entity.LogisticsTraceDetailOrder;

import java.util.List;

/**
 * 入库/出库单 Service接口
 *
 * @author default
 * @date 2022-11-10
 */
public interface LogisticsTraceDetailOrderService extends IService<LogisticsTraceDetailOrder> {

    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Page<LogisticsTraceDetailOrderInfo> queryLogisticsTraceDetailOrder(LogisticsTraceDetailOrderQueryRequest request);

    /**
     * 查询详情
     *
     * @param logisticsTraceDetailOrderId
     * @return
     */
    LogisticsTraceDetailOrderInfo getLogisticsTraceDetailOrderById(Long logisticsTraceDetailOrderId);

    /**
     * 查询列表
     *
     * @param request
     * @return
     */
    List<LogisticsTraceDetailOrderInfo> listLogisticsTraceDetailOrder(LogisticsTraceDetailOrderListRequest request);

    /**
     * 修改
     *
     * @param request
     * @return
     */
    LogisticsTraceDetailOrderUpdateResponse updateLogisticsTraceDetailOrder(LogisticsTraceDetailOrderUpdateRequest request);

    /**
     * 删除
     *
     * @param logisticsTraceDetailOrderId
     * @return
     */
    LogisticsTraceDetailOrderDeleteResponse deleteLogisticsTraceDetailOrder(Long logisticsTraceDetailOrderId);

}